﻿<Window x:Class="University.Workshop.ClientApp.PokerGame.PokerTable.CreateTableOption"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CreateTableOption" Height="410" Width="528" Background="#FF34344B" ResizeMode="NoResize" Closed="Window_Closed">
    <Grid>
        <Button Content="Cancel" Height="34" HorizontalAlignment="Left" Margin="407,325,0,0" Name="button_Cancel" VerticalAlignment="Top" Width="87" Click="button_Cancel_Click" />
        <Button Content="Create" Height="34" HorizontalAlignment="Left" Margin="300,325,0,0" Name="button_Create" VerticalAlignment="Top" Width="88" Click="button_Create_Click" />
        <Label Content="Create a new table" Foreground="#FFF8F2F2" Height="41" VerticalAlignment="Top" VerticalContentAlignment="Center" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label_CreateANewTable" Width="482" FontSize="24" FontWeight="Bold" FontStyle="Italic" />
        <GroupBox Header="Bet option" Height="112" Foreground="#FFF8F2F2" HorizontalAlignment="Left" Margin="12,207,0,0" Name="groupBox_BetOption" VerticalAlignment="Top" Width="482">
            <Grid>
                <Label Content="Minimal bet:" Height="28" Foreground="#FFF8F2F2" HorizontalAlignment="Left" Margin="6,14,0,0" Name="label_MinimalBet" VerticalAlignment="Top" />
                <Label Content="Maximal bet:" Height="28" Foreground="#FFF8F2F2" HorizontalAlignment="Left" Margin="6,48,0,0" Name="label_MaximunBet" VerticalAlignment="Top" />
                <TextBox Height="23" Foreground="White" HorizontalAlignment="Left" Margin="131,14,0,0" Name="textBox_MinimalBet" VerticalAlignment="Top" Width="325" TextChanged="TextBoxMinimalBetTextChanged" />
                <TextBox Height="23" Foreground="White" HorizontalAlignment="Left" Margin="131,49,0,0" Name="textBox_MaximunBet" VerticalAlignment="Top" Width="325" TextChanged="TextBoxMaximunBetTextChanged" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Game option" Height="124" HorizontalAlignment="Left" Foreground="#FFF8F2F2" Margin="12,65,0,0" Name="groupBox_GameOption" VerticalAlignment="Top" Width="482">
            <Grid>
                <ComboBox Height="28" HorizontalAlignment="Left" Margin="6,62,0,0" Name="comboBox_MaximunPlayer" VerticalAlignment="Top" Width="57" />
                <Label Content="Maximun player (2-5): " Height="28" HorizontalAlignment="Left" Foreground="#FFF8F2F2" Margin="6,37,0,0" Name="label_MaximunPlayer" VerticalAlignment="Top" />
                <Label Content="Insert the name of the table:" Height="28" HorizontalAlignment="Left" Margin="6,5,0,0" Foreground="#FFF8F2F2" Name="label_InsertNameTable" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Foreground="White" Margin="172,6,0,0" Name="textBox_TableName" VerticalAlignment="Top" Width="284" MaxLength="20" TextChanged="TextBoxTableNameTextChanged" />
                <Label Content="Level limitation: " Height="28" HorizontalAlignment="Left" Margin="239,37,0,0" Name="label_LevelLimitation" Foreground="#FFF8F2F2" VerticalAlignment="Top" />
                <ComboBox Height="28" HorizontalAlignment="Left" Margin="239,62,0,0" Name="comboBox_LevelLimitation" VerticalAlignment="Top" Width="217" />
            </Grid>
        </GroupBox>
    </Grid>
</Window>
